Skip to main content

Internal API

If you haven't found method that you need from Supported API, you can try to use Internal API. Internal API gives you access to all dxchart5-react internal codebase.

interface ReactAppState {
readonly multiChartViewModel: MultiChartViewModel;
readonly chartVMs: Record<string, CombinedViewModels>;
}
interface ChartReactDebug {
/**
* Prints current layout state to the console
*/
readonly exportLayout: () => void;
/**
* Applies specified migration script to the chart and reloads the page
*/
readonly applyMigrationScript: (scriptId: string) => void;
}
type ChartReactInternalAPI = ReactAppState & ChartReactDebug;
export interface ChartReactAPI extends ChartReactSupportedAPI {
readonly internal: ChartReactInternalAPI;
/**
* @deprecated
*/
readonly supported: unknown;
}